home *** CD-ROM | disk | FTP | other *** search
- program MuscleMyofilaments;
- {U$-}
- uses
- MemTypes,QuickDraw,OSIntF,ToolIntf;
-
- var
- Angle:integer;
- Arc : rect;
- Oval : rect;
- NumbA : integer;
- Count : integer;
- myPort:GrafPort;
- r:Rect;
-
- begin
- InitGraf(@thePort);
- OpenPort(@myPort);
- FillRect(myPort.portBits.Bounds,white);
- PenPat(black);
- PenSize(4,5);
- SetRect(r,2,2,508,338);
- FrameRect(r);
-
- PenSize (1,1);
- MoveTo(75, 119);{move cursor to these coordinates}
- LineTo(360,119);{draw line from 75H to 360H}
- MoveTo(75, 200);{move cursor to these coordinates V 200}
- LineTo(362,200);{draw line from 75H to 360H and 200V}
-
-
- {Draw Z lines}
-
- PenPat(Black);
- PenSize(2,2);
- SetRect(Arc,90,119,190,200);
- FrameArc(Arc,0,180);
- for count := 1 to 1 do
- begin
- OffSetRect(Arc, 160,0);
- FrameArc(Arc,0,180);
- end;
- PenSize(5,5);
- SetRect(Arc,312,119,412,200);
- FrameArc(Arc, 0,180);
- {Draw Thick Filaments}
- PenSize(3,3);
- MoveTo(190,125);
- LineTo(300,125);
- MoveTo(200,140);
- LineTo(310,140);
- MoveTo(210,155);
- LineTo(320,155);
- MoveTo(200,170);
- LineTo(310,170);
- MoveTo(190,185);
- LineTo(300,185);
- {Draw Thin Filaments}
- PenSize(1,1);
- MoveTo(100,133);
- LineTo(240,133);
-
- MoveTo(110,148);
- LineTo(250,148);
-
- MoveTo(120,163);
- LIneTo(260,163);
-
- MoveTo(110,178);
- LineTo(250,178);
-
- MoveTo(100,193);
- LineTo(240,193);
-
- MoveTo(270,133);
- LineTo(390,133);
-
- MoveTo(280,148);
- LineTo(400,148);
-
- MoveTo(290,163);
- LIneTo(410,163);
-
- MoveTo(280,178);
- LineTo(400,178);
-
- MoveTo(270,193);
- LineTo(390,193);
- PenPat(Dkgray);
- SetRect(Oval, 35,119,135,201);
- PaintOval(Oval);
- ReadLn
-
- end.